window.moduleA = {
  data: 'moduleA',
  method: function() {
    console.log('execute A\'s method');
  }
}